package com.zxkj.domain.mapper;


import com.zxkj.domain.entity.CorporationAu;
import com.zxkj.domain.entity.CorporationDept;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.nio.channels.SelectableChannel;
import java.util.List;

/**
 * Created by Administrator on 2017/7/12.
 */
public interface CorporationAuRepository extends JpaRepository<CorporationAu,Integer> {
    @Query("select t from CorporationAu t where corpId=?1 ")
    List<CorporationAu> findAllByCorpId(Integer corpId);
}
